package common.zsxmlv.vo;

import com.fasterxml.jackson.annotation.JsonInclude;

import java.util.List;

/**
 * @Author: ZSXM
 * @Description: LAYUI DATA TABLE
 * @Company: DingZheng
 * @Date: Create by 2018/5/24 16:09
 * @Version: 1.0
 * @Modify by:
 */
@JsonInclude(JsonInclude.Include.NON_NULL)
public class Table {

    private Integer code = 0;

    private String msg;

    private Integer count;

    private List data;

    public Table() {
    }

    public Table(Integer code, String msg, Integer count, List data) {
        this.code = code;
        this.msg = msg;
        this.count = count;
        this.data = data;
    }

    public Integer getCode() {
        return code;
    }

    public void setCode(Integer code) {
        this.code = code;
    }

    public String getMsg() {
        return msg;
    }

    public void setMsg(String msg) {
        this.msg = msg;
    }

    public Integer getCount() {
        return count;
    }

    public void setCount(Integer count) {
        this.count = count;
    }

    public List getData() {
        return data;
    }

    public void setData(List data) {
        this.data = data;
    }

    @Override
    public String toString() {
        return "Table{" +
                "code=" + code +
                ", msg='" + msg + '\'' +
                ", count=" + count +
                ", data=" + data +
                '}';
    }
}
